def make(n):
    x = []
    for i in range(n):
        c = i
        x.append(lambda: print(c))
    return x


a, b, c = make(3)
a(),b(),c()
